home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / lynx-2.4 / WWW / Library / Implementation / HTWSRC.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-28  |  1.3 KB  |  47 lines

  1. /*                                                             A parser for WAIS source files
  2.                                  WAIS SOURCE FILE PARSER
  3.                                              
  4.    This converter returns a stream object into which a WAIS source file can be written.
  5.    The result is put via a structured stream into whatever format was required for the
  6.    output stream.
  7.    
  8.    See also: HTWAIS protocol interface module
  9.    
  10.  */
  11. #ifndef HTWSRC_H
  12. #define HTWSRC_H
  13.  
  14. #ifndef HTUTILS_H
  15. #include "HTUtils.h"
  16. #endif /* HTUTILS_H */
  17.  
  18. #include "HTFormat.h"
  19.  
  20. extern  HTStream* HTWSRCConvert PARAMS((
  21.         HTPresentation *        pres,
  22.         HTParentAnchor *        anchor,
  23.         HTStream *              sink));
  24.  
  25. /*
  26.  
  27. Escaping Strings
  28.  
  29.    HTDeSlash takes out the invlaid characters in a URL path ELEMENT by converting them
  30.    into hex-escaped characters. HTEnSlash does the reverse.
  31.    
  32.    Each returns a pointer to a newly allocated string which must eventually be freed by
  33.    the caller.
  34.    
  35.  */
  36. extern char * HTDeSlash PARAMS((CONST char * str));
  37.  
  38. extern char * HTEnSlash PARAMS((CONST char * str));
  39.  
  40. #endif
  41.  
  42. /*
  43.  
  44.                                                                                     Tim BL
  45.                                                                                           
  46.     */
  47.